package com.qingshu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Huzz
 * @since 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_file")
@ApiModel(value="File对象", description="")
public class QingShuFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    private String path;

    @ApiModelProperty(value = "文件标识")
    private String identifier;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "删除标识:0使用, 1删除, 默认0")
    private Integer del;

    @ApiModelProperty(value = "创建人id", example = "123")
    private Integer createdUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "文件大小")
    private Long totalSize;

    @ApiModelProperty(value = "文件所属(保留字段)")
    private String refProjectId;

}
